package com.lifetime.service.impl;

import com.lifetime.mapper.LatelyPicMapper;
import com.lifetime.service.LatelyPic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class LatelyPicImpl implements LatelyPic {
    @Autowired
    LatelyPicMapper latelyPicMapper;
    @Override
    public List<Map<String, Object>> getLatelyPic(int userId) {
        return latelyPicMapper.getLatelyPic(userId);
    }
}
